]> dgit.raspbian.org Git - gnome-shell.git/commit
runDialog: Trim input before processing
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Sun, 7 Feb 2021 18:41:36 +0000 (19:41 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 8 Feb 2021 08:14:46 +0000 (08:14 +0000)
commit6ac32f1fc0c0c5fce3e6de0fce1812ec8d283bbb
tree906ed4e41f5536eff5c9693058eb5001487d2f9a
parentcb26a636e8c2981a1ddba3011c2509f68c025f32
runDialog: Trim input before processing

This way, whitespace-only (nonempty) input gets the same treatment of
not being added to the history (see previous commit), which seems nice.

Part of https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3183.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1442>
js/ui/runDialog.js